package com.aaa.ssm.service;

import com.aaa.ssm.entity.Emp;
import com.aaa.ssm.entity.Permission;
import com.aaa.ssm.exception.LoginException;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author AUSU
 * @version 1.0
 * 创建时间：2025/3/20 15:16
 */
@Service
public interface EmpService {

    Emp login(String username, String password) throws LoginException;

    List<Permission> getPermission(Integer rid) throws Exception;

}
